CTXFeed\V5\API\RestController S

Total Complexity 35
Dependencies 4
Dependents 1
Total lines 323
Lines of code 168
Logical lines of code 95
Comment lines 104
Methods 17
Properties 3

Methods 17

Method Rating Maintainability Complexity Lines of code
register_api()
A
45 9 44
add_pagination_links()
S
48 5 32
get_lists()
S
64 3 10
maybe_add_pagination()
S
59 2 13
unique_option_name()
S
65 2 9
is_assoc()
S
71 2 6
instance()
S
72 2 6
prepare_item_for_response()
S
80 1 3
load_class()
S
71 1 5
is_prefix_matched()
S
79 1 3
__construct()
S
67 1 7
error()
S
66 1 9
success()
S
68 1 7
__wakeup()
S
78 1 3
__clone()
S
78 1 3
get_item_permissions_check()
S
80 1 3
add_additional_headers()
S
72 1 5